package com.cheney.demo.singletion;

/**
 * 静态内部类的单例模式
 * @author Chensi 
 * @version 2018年5月18日 下午11:55:18
 */
public class SingletionStaticInner {

	private static class InnerSingletion {
		private static SingletionStaticInner single = new SingletionStaticInner();
	}

	public static SingletionStaticInner getInstance() {
		return InnerSingletion.single;
	}
	
	
}
